package com.itheima.mapper;

import com.itheima.domain.Users;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {

Users findByUsernameAndPassword(@Param("username") String username, @Param("password") String password);

    List<Users> findAll();

    void changePassword(Users users);

    Users findById(String id);
}
